<article>
	<header>
		<h1><?php echo $this->Html->link($article_name,$this->Html->url(array('plugin'=>false,'controller'=>'a','action'=>$article_slug),true),array('title'=>$article_name,'escape'=>false)); ?></h1>
	</header>
	<?php 
		if(!empty($gallery) && isset($gallery[0]['Upload']['name'])){
			$img = $this->FileUpload->image($gallery[0]['Upload']['name'],array('width'=>200,'imagePathOnly'=>true));
			echo $this->Html->link('',$this->Html->url(array('plugin'=>false,'controller'=>'a','action'=>$article_slug),true),
					array('title'=>h($article_name),'escape'=>false,'class'=>'highslide','style'=>"display: block; background: url('{$img}') no-repeat center center; width: 150px; height: 110px; float: left; border-radius: 10px; margin: 0 18px 18px 18px;"));
		}
	?>
				
	<p><?php echo $article_list_content; ?></p>
	<footer>
		<p><?php if($display_date == 1 ) { echo "Data dodania: ".$article_modified; } ?></p>
		<?php echo $this->Html->link(__d('frontend','Zobacz więcej',true),array('plugin'=>false,'controller'=>'a','action'=>$article_slug),array('class'=>'more','title'=>h($article_name),'escape'=>false)); ?>
	</footer>
</article>